SCCompressPicture
TheSCCompressPicture
function compresses a picture that is stored in a handle.
pascal ComponentResult SCCompressPicture (ComponentInstance ci, PicHandle srcPicture, PicHandle dstPicture);
ci
- Identifies your application's connection to a standard image-compression dialog component.
srcPicture
- Contains a handle to the picture to be compressed.
dstPicture
- Contains a handle to the compressed picture. The standard dialog component resizes this handle to accommodate the compressed picture. Your application is responsible for creating and disposing of this handle when you are done with it.
RESULT CODES
Image Compression Manager errors (from
scUserCancelled 1 Dialog box canceled--user clicked Cancel FCompressPicture
function)
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help